<?php
/* @var $this CatalogController */
/* @var $data Catalog */
?>

<div class="view row">

	<div class="large-2 medium-2 columns">
		<?php echo '<img src="'.$data->pictures[0]->url.'" />'; ?>
	</div>

	<div class="large-10 medium-10 columns">
		#<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>#

		<?php echo CHtml::link(CHtml::encode($data->title), array('view', 'id'=>$data->id)); ?>
		<br />

		<?php echo CHtml::encode($data->description); ?>
		<br />

		<b>Status:</b>
		Available for download: <?php if($data->download_url){echo 'Yes';} else{echo 'No';} ?>;
		Subscribers: <?php echo count($data->subscribers); ?>;
		Items in catalog: <?php echo count($data->catalogItems); ?>.
	</div>

</div>